package cn.gistone.visualeditor.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 用户屏幕查询条件对象
 */
@Data
@ApiModel
public class PicQueryDto extends BasePage{

        @ApiModelProperty(value = "图片名字")
        private String imageName;

        @NotNull(message = "图片类型不能为空")
        @ApiModelProperty(value = "图片类型",required = true,notes = "1:背景图,2:特效图")
        private Integer type;

}
